package empox.pos.basicinfo;

public class BasicSize {
	String account;
	String size;
	String sizeName;
	String sizeClass;

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getSizeClass() {
		return sizeClass;
	}

	public void setSizeClass(String sizeClass) {
		this.sizeClass = sizeClass;
	}

	public String getSizeName() {
		return sizeName;
	}

	public void setSizeName(String sizeName) {
		this.sizeName = sizeName;
	}

	public void setValue(int index, String value) {
		String temp;
		if (value != null)
			temp = value;
		else
			temp = "";

		switch (index) {
		case 0:
			account = temp;
			break;
		case 1:
			size = temp;
			break;
		case 2:
			sizeName = temp;
			break;
		case 3:
			sizeClass = temp;
			break;
		}
	}
}
